package cloud.xiguapi.ubas.analysis.login.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 大大大西西瓜皮🍉
 * date: 2021-5-19 下午 06:15
 * desc:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class LoginEvent implements Serializable {

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 登录IP
     */
    private String ip;

    /**
     * 登录状态
     */
    private String loginState;

    /**
     * 时间戳
     */
    private Long timestamp;
}
